package bingo.component.amchart.graphics.pie;

import bingo.component.amchart.graphics.BaseGraphic;

/**
 * Jun 24, 2008 4:17:03 PM
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:
 * ChangeLog:
 */
public class Slice extends BaseGraphic{
	private String title;
	private String url;
	private String description;
	private String value;
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
	
	@Override
	protected String getTextPropertyName() {
		return "value";
	}
	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}
	public GraphicType getGraphicType() {
		return GraphicType.slice;
	}
	public boolean isRootElement() {
		return false;
	}
	
}
